layui.use(["element", 'form','layer', 'laydate'], function () {
  var element = layui.element,
    form = layui.form,
    layer = layui.layer,
    laydate = layui.laydate;
    laydate.render({
      elem: '.dataTime',
      // value: '2018-11-19 ~ 2018-11-25',
    });


  $('#searchBtn').on('click', function () {

  });
});
// AssetCode  资产代码  

var vm = new Vue({
  el: '#app',
  data: {
    ArrData: [],
    totalVisible: false,
    tableIns: [],
    defaultData: []
  },
  mounted: function () {
    this.init()
  },
  methods: {
    init: function () {
      localStorage.setItem('navigation','<a href="#">首页</a><span lay-separator="">/</span><a href="">资讯管理</a><span lay-separator="">/</span><a><cite>资讯发布</cite></a>');
    },
    backEdit:function() {
      layer.confirm('添加成功！', {
        icon: 1,
        title: '提示',
        shade: false,          
        btnAlign: 'c',
        btn: ['确认'],
        btnAlign:"c"
      }, function () {
        parent.location.href = '../../main.html?url=html/ZXGL/ZXLB.html&id=51';
      });
    },
    goBack:function(){

    }
  }
})